<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="fm"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<base href="<%=basePath%>">

<title>论坛首页-帖子</title>
<meta http-equiv="pragma" content="no-cache">
<meta http-equiv="cache-control" content="no-cache">
<meta http-equiv="expires" content="0">
<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
<meta http-equiv="description" content="This is my page">
<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style>
* {
	margin: 0 auto;
	text-align: center;
}

#list {
	margin: 50px auto;
	width: 800px;
}
</style>
</head>

<body>
	<div>
		
		<table border="1" id="invitationList">
			<tr>
				<th colspan="5"><h2>帖子列表</h2></th>
			</tr>
			<tr>
				<th colspan="5">帖子标题：<input name="invitationName" id="invitationName"><input type="button" value="搜 索" id="sel"></th>
			</tr>
			<tr style="background: yellow;">
				<th>标题</th>
				<th>内容摘要</th>
				<th>作者</th>
				<th>发布时间</th>
				<th>操作</th>
			</tr>
			
<%-- 			<c:forEach var="invitation" items="${invitationList}">
					<tr>
						<th>${invitation.title}</th>
						<th>${invitation.summary}</th>
						<th>${invitation.author}</th>
						<th>${invitation.createdate}</th>
						<th><a href="">查看回复</a>||<a href="">删除</a></th>
					</tr>
			</c:forEach> --%>
		</table>
	</div>
	<script type="text/javascript"
			src="${pageContext.request.contextPath }/statics/js/jquery-1.11.1.min_044d0927.js"></script>
			<script type="text/javascript"
			src="${pageContext.request.contextPath }/statics/js/index.js"></script>
	
</body>
</html>
